type GetSumType = (num1: number, num2: number) => number

interface GetSumInterface {
    name: string
    age: number
    // 函数可以调用:函数调用签名
    // 函数可以调用: 函数调用签名   （参数列表）：返回值
    (num1: number, num2: number): number
}
const getSum: GetSumInterface = (num1: number, num2: number): number => {
    return num1 + num2
}
getSum.name = "陶品奇"
getSum.age = 23

const result = getSum(10, 20)
